How to copy animations frames and paste it in other animation states?

like the title say i want to copy for expample the last keyframe (Run) and paste it in the first keyframe (which is free space btw) (Jump) … everytime i go from an animation state to an other i need to do this cycle soo is there any way i can do it in script? thank u^^

I don’t think so and the easiest way is just copy the frames with control c in the animation then just paste inside the other

i need to copy it infinity time during gameplay so the animation is smoothly go from any animation to an other (blend tree isnt that much)

if there is an other way to make animation smooth and well switched ill go with it