src/File.php
public function copy(string $source, string $destination) : bool
    {
        $status = @copy($source, $destination);

        if (false === $status) {
            throw new FileException('Cannot copy source to destination.');
        }

        return $status;
    }
public function copy(string $source, string $destination) : bool
    {
        $status = @copy($source, $destination);

        if (false === $status) {
            throw new FileException('Cannot copy source to destination.');
        }

        return $status;
    }
public function copy ( string $ source , string $ destination ) : bool { $ status = @ copy ( $ source , $ destination ) ; if ( false === $ status ) { throw new FileException ( 'Cannot copy source to destination.' ) ; } return $ status ; }
Copy file from source to destination.

@param string $source
@param string $destination

@return bool
Copy file from source to destination .