Dmyers\Storage\Adapter\AmazonS3::copy PHP Method

copy() public method

{@inheritDoc}
public copy ( $path, $target )
    public function copy($path, $target)
    {
        return $this->client->copyObject(array('Bucket' => $this->bucket, 'Key' => $target, 'CopySource' => $this->computePath($path)));
    }