To copy an animation from one layer to another, you can:
In the timeline, select the animation you want to copy
Press ⌘C (or ctrl C) to copy the animation
Select the layer you want to apply the animation to
Press ⌘V (or ctrl V) to paste the animation to that layer