A-pose to T-Pose?

Have you read “Retargeting a Base Pose” at the bottom of the following documentation. I believe it describes in detail exactly how to do what you are trying to do: