Copy an object
public static copyObject ( string $srcBucket, string $srcUri, string $bucket, string $uri, constant $acl = self::ACL_PRIVATE, array $metaHeaders = [], array $requestHeaders = [], constant $storageClass = self::STORAGE_CLASS_STANDARD ) : mixed | false | ||
$srcBucket | string | Source bucket name |
$srcUri | string | Source object URI |
$bucket | string | Destination bucket name |
$uri | string | Destination object URI |
$acl | constant | ACL constant |
$metaHeaders | array | Optional array of x-amz-meta-* headers |
$requestHeaders | array | Optional array of request headers (content type, disposition, etc.) |
$storageClass | constant | Storage class constant |
return | mixed | false | | false |