/Engine/Source/Developer/AssetTools/Public/IAssetTools.h
Find all the dependencies that also need to be copied in the advanced copy, mapping them to the file that depends on them and excluding any that don't pass the ARFilter stored on CopyParams
void GetAllAdvancedCopySources ( [FName](API\Runtime\Core\UObject\FName) SelectedPackage, [FAdvancedCopyParams](API\Developer\AssetTools\FAdvancedCopyParams) & CopyParams, [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & OutPackageNamesToCopy, [TMap](API\Runtime\Core\Containers\TMap)< [FName](API\Runtime\Core\UObject\FName), [FName](API\Runtime\Core\UObject\FName) > & DependencyMap, const class [UAdvancedCopyCustomization](API\Developer\AssetTools\UAdvancedCopyCustomization) * CopyCustomization ) const