How can I fix this this Blender animation?

Hello! You can see in the video that the stock separates and flies to the end position rather than rotate as a single piece as it would in real life. I’ve tried setting midpoints but there are still separations between those, just smaller in scale.
Forgive me if it’s something very simple as it is my first time animating one of my models, but how could I fix this? Thanks in advance!

Parent the other parts to the main part that is going to swing around and only animate that main part.


Works like a charm. Thank you so much