How do I replace one layer with another and take all its specifications
Select the layer you want to replace in the timeline or comp window
Alt/opt-drag the new source from the project window into the comp or timeline window.