Add copy-object with metadata

Adds an additional copy-object function overload that accepts an object metadata map.