When you copy a layer, you copy all of its properties, including effects, keyframes, expressions, and masks.
Duplicating a layer is a shortcut with which you copy and paste the layer with one command. Duplicating a layer with a track matte preserves the relative ordering of the layer and its track matte.
If you have a component of a layer—such as a mask
or keyframe—selected when you copy, you copy only that component.
Before copying, press Shift+F2 to deselect all of a layer’s components
and leave the layer selected.