src/File.php
public function copyAs($dest)
    {
        $copy = new File($dest, $this->adapter);
        $copy->content($this->content());
        return $copy;
    }
public function copyAs($dest)
    {
        $copy = new File($dest, $this->adapter);
        $copy->content($this->content());
        return $copy;
    }
public function copyAs ( $ dest ) { $ copy = new File ( $ dest , $ this -> adapter ) ; $ copy -> content ( $ this -> content ( ) ) ; return $ copy ; }
Copies the file to the provided destination and returns the copy.

@param  string $dest
@return self

@throws Tarsana\Filesystem\Exceptions\FilesystemException if unable to create the destination file.
Copies the file to the provided destination and returns the copy .