Importing Animations from Unity 3d to Unreal Engine

I have a total of 100 animations in fbx files that ive been using for a mecanim system in unity.

I can import them into unreal engine 4 on the skeleton i made the animations with only.

How can i go about retargeting the animations on the herottp given manequinn…also is there a way I can create a Upper and lower body mask like in unity

thanks in advance