public function copy($file)
    {
        $fs = new Filesystem;

        if (! $fs->exists(dirname($file))) {
            $fs->mkdir(dirname($file), 0755);
        }

        $fs->copy($this->source, $file, true);
    }
public function copy($file)
    {
        $fs = new Filesystem;

        if (! $fs->exists(dirname($file))) {
            $fs->mkdir(dirname($file), 0755);
        }

        $fs->copy($this->source, $file, true);
    }
public function copy ( $ file ) { $ fs = new Filesystem ; if ( ! $ fs -> exists ( dirname ( $ file ) ) ) { $ fs -> mkdir ( dirname ( $ file ) , 0755 ) ; } $ fs -> copy ( $ this -> source , $ file , true ) ; }
Perform source coping.

@param  string $file
@return void
Perform source coping .