The copy operation creates a copy of a COS object of up to 5 GB in a single request. To copy an object over 5 GB, use the multipart upload API. With the copy operation, you can:
In the copy operation, the metadata of the source object is inherited by default, while the creation date is subject to the creation date of the target object.
- Copy and paste are not supported for objects in the ARCHIVE storage class.
- A sub-account should be granted the
GetObjectACLpermissions to copy objects.
Copy objects in the COS console. For more information, see Copying Objects in Console Guide.
Use REST APIs to initiate an object copy request. For more information, see PUT Object - Copy.
Directly call the object copy method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: