'Copy storage object\'s data to the new object using COPY.'

def copy_object_2d_way(self, container, src_object_name, dest_object_name, metadata=None):

    url = '{0}/{1}'.format(container, src_object_name)
    headers = {}
    headers['Destination'] = ('%s/%s' % (str(container), str(dest_object_name)))
    if metadata:
        for key in metadata:
            headers[str(key)] = metadata[key]
    (resp, body) = self.copy(url, headers=headers)
    self.expected_success(201, resp.status)
    return (resp, body)
