Copies the layer into the specified composition. The original layer remains unchanged. Creates a new Layer object with the same values as this one, and prepends the new object to the layers collection in the target CompItem. Retrieve the copy using intoComp.layer(1).
Copying in a layer changes the index positions of previously existing layers in the target composition. This is the same as copying and pasting a layer through the user interface.
into Comp The target composition, and CompItem object.