

def copy_object(self, container, obj, new_container, new_obj_name=None, content_type=None, extra_info=None):
    "\n        Copies the object to the new container, optionally giving it a new name.\n        If you copy to the same container, you must supply a different name.\n\n        You can optionally change the content_type of the object by supplying\n        that in the 'content_type' parameter.\n\n        The 'extra_info' parameter is included for backwards compatibility. It\n        is no longer used at all, and will not be modified with swiftclient\n        info, since swiftclient is not used any more.\n        "
    return self._manager.copy_object(container, obj, new_container, new_obj_name=new_obj_name, content_type=content_type)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py StorageClient.copy_object/original