How do I replace one layer with another and take all its specifications(size, scale, position, effects…) in after effects?
click on the layer or highlight everything press CTRL-C, then where you want it. click at a starting point and CTRL-V or CTRL-Shift-V to paste in place.
but not working just add layer
Did you try highlighting the keyframes?