Transfer Rigged Mesh to a different Armature

Hello! Noob blender user question here.

I have one rigged mesh (Mesh 1) with its corresponding armature (armature 1).

I also have a different, armature (armature 2) with specific axis orientations wich I am forced to use due game limitations.

I want to keep the rigging data from Mesh 1 but using armature 2 instead.

I see in the outliner window, that each part of my mesh shows “Vertex Groups” that point to each bone from Mesh 1.

So the question is, Is there a way to change these bones into armature 2 bones?

Thanks for reading and helping!

Edit: Nevermind, found it!