How to 'Mirror' an action through Blender?

Hey everyone. So essentially what I wanna recreate is something like this :

ezgif.com-gif-maker

The animation is doable, and I’ve completed the animation for one character. So I tried linking the animation data, then flipping it, and having it ready. However, it did not work. Is there any other method to do this?