CopyObject Method
Make a copy of the specified object.
Object Oriented Interface
public function doCopyObject($srcobjectname, $destbucket, $destobjectname);
Procedural Interface
incloudstorage_amazons3_do_copyobject($res, $srcobjectname, $destbucket, $destobjectname);
Remarks
This method will copy the object specified by the Bucket property and the SrcObjectName parameter to the DestBucket with the specified DestObjectName.
This enables the user to copy an object from one place to another without having to first download, then upload the object.
NOTE: Objects may only be copied to buckets that exist within the same location.