src/Uploadcare/File.php
public function copy($target = null)
    {
        Helper::deprecate('2.0.0', '3.0.0', 'Use createLocalCopy() or createRemoteCopy() instead');
        return $this->api->copyFile($this->getUrl(), $target);
    }
public function copy($target = null)
    {
        Helper::deprecate('2.0.0', '3.0.0', 'Use createLocalCopy() or createRemoteCopy() instead');
        return $this->api->copyFile($this->getUrl(), $target);
    }
Copy the file.

@deprecated 2.0.0 Use createLocalCopy() or createRemoteCopy() instead.
@param string $target Name of custom storage.
@return File|string
@throws \Exception