copy($bucket, $key, $bucket, $key2); echo "\n====> copy $key to $key2 : \n"; if ($err !== null) { var_dump($err); } else { echo "Success!"; }