public function copy(string $path, string $newPath): bool
    {
        return $this->flySystem->copy($path, $newPath);
    }
public function copy(string $path, string $newPath): bool
    {
        return $this->flySystem->copy($path, $newPath);
    }
public function copy ( string $ path , string $ newPath ) : bool { return $ this -> flySystem -> copy ( $ path , $ newPath ) ; }
Copy a file.

@param string $path    The existing path
@param string $newPath The new path

@throws \League\Flysystem\FileExistsException
@throws \League\Flysystem\FileNotFoundException

@return bool
Copy a file .