/Engine/Source/Runtime/GeometryCore/Public/DynamicMesh/DynamicVertexSkinWeightsAttribute.h
FromRefSkeleton can contain bones that are not present in ToRefSkeleton as long as those bones are not referenced by any of the weights.
true on success, false otherwise
bool ReindexBoneIndicesToSkeleton ( const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & FromRefSkeleton, const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & ToRefSkeleton )