/Engine/Source/Runtime/Engine/Classes/Animation/CustomAttributesRuntime.h
Copy attributes from source, and remap the bone indices according to BoneMapToSource
static void CopyAndRemapAttributes ( const [UE::Anim::FHeapAttributeContainer](API\Runtime\Engine\Animation\FHeapAttributeContainer) & SourceAttributes, [UE::Anim::FStackAttributeContainer](API\Runtime\Engine\Animation\FStackAttributeContainer) & OutAttributes, const [TMap](API\Runtime\Core\Containers\TMap)< int32, int32 > & BoneMapToSource, const [FBoneContainer](API\Runtime\Engine\FBoneContainer) & RequiredBones )