IAssetTools::GetMappingsForRootPackageRename

Generates the SearchAndReplace map for a PatchCopyPackageFile if all you are doing is changing the root and not the name.