Curve Editor - save values

Can you save the values from the Curve Editor so that it can be used in another Curve Editor?

Can’t you just do SecondAnimationCurve.keys = FirstAnimationCurve.keys ?