How to attach a part to a dummy's hand when animating

Hey I am animating a weapon and I am currently creating a reload animation.

For this animation I want the magazine to physically exit the gun and then re enter it as if it had been changed.

I am able to do this, but by constantly moving it in the dummy’s hand every new keyframe.

I want it so it sticks to the dummy’s hand to look smoother and, well, better,

If this is possible please explain how to do it. Thanks c: