that wont work unless the skeletons youre retargetting to have the weapon bones as well. What i would recommend you do, set the material of the weapon on the character to an invisible one, then use sockets to attach weapons to their hands, which you will be able to detach whenever you want.