protected function copy($source, $target)
    {
        if (is_file($source)) {
            $exists = is_file($target) ? true :false;
            $this->filesystem->copy($source, $target);

            if (!$exists) {
                return true;
            }
        }

        return false;
    }
protected function copy($source, $target)
    {
        if (is_file($source)) {
            $exists = is_file($target) ? true :false;
            $this->filesystem->copy($source, $target);

            if (!$exists) {
                return true;
            }
        }

        return false;
    }
protected function copy ( $ source , $ target ) { if ( is_file ( $ source ) ) { $ exists = is_file ( $ target ) ? true : false ; $ this -> filesystem -> copy ( $ source , $ target ) ; if ( ! $ exists ) { return true ; } } return false ; }
Copies the source file

@param string $source
@param string $target

@return boolean
Copies the source file