src/Upyun/UpyunAdapter.php
public function copy($path, $newpath)
    {
        $this->writeStream($this->mergePath($newpath), $this->readStream($this->mergePath($path))['stream'], new Config() );

        return true;
    }
public function copy($path, $newpath)
    {
        $this->writeStream($this->mergePath($newpath), $this->readStream($this->mergePath($path))['stream'], new Config() );

        return true;
    }
复制文件

@param $path
@param $newpath
@return boolean
@author yangyifan <yangyifanphp@gmail.com>