Preserve metadata across copy-in-the-cloud