The skeleton can be different in size, and have extra bones, but all other bone names have to match exactly.
Its pribably just easier if you redo things using the retargeting system.
You can retarget a whole animation blueprint onto a new skeleton (it does cost storage of all duplicated animations/assets though, so keep that in mind).