• Object Storage Service

  1. Help Center
  2. Object Storage Service
  3. API Reference (Swift)
  4. Operations on Objects
  5. Copy Object

Copy Object

You can copy an object to a new object with the same name.

Two methods of copying an object are as follows:

  1. Use PUT method and add the X-Copy-From request header.
  2. Use the COPY method.

The preceding two methods have the same effect.

The COPY operation always creates a new object. If you use this operation on an existing object, replace the existing object and metadata.

If you use this operation to copy a manifest object, the new object is a normal object and not a copy of the manifest. Instead it is a concatenation of all the segment objects. This means that you cannot copy objects larger than 5 GB in size.