How can I transfer weights from one bone to another?
If the two rigs has the same bone names, then you can transfer weights by selecting your mesh and going into the modifiers properties tab and set the Armature modifier to the new rig instead of the old one, then modify the parent of the mesh to the new rig as shown below: