aws sdk s3 copy object bucket not found code example
Example: aws sdk s3 copy object bucket not found
You have to specify the bucket inside the copy source
// Copy an object.
$s3->copyObject(array(
'Bucket' => $targetBucket,
'Key' => $targetKeyname,
'CopySource' => "{$sourceBucket}/{$sourceKeyname}",
));