original_string: public function copy($file)
      {
          $fs = new Filesystem;
  
          if (! $fs->exists(dirname($file))) {
              $fs->mkdir(dirname($file), 0755);
          }
  
          $fs->copy($this->source, $file, true);
      }
code: public function copy($file)
      {
          $fs = new Filesystem;
  
          if (! $fs->exists(dirname($file))) {
              $fs->mkdir(dirname($file), 0755);
          }
  
          $fs->copy($this->source, $file, true);
      }
code_tokens: public function copy ( $ file ) { $ fs = new Filesystem ; if ( ! $ fs -> exists ( dirname ( $ file ) ) ) { $ fs -> mkdir ( dirname ( $ file ) , 0755 ) ; } $ fs -> copy ( $ this -> source , $ file , true ) ; }
docstring: Perform source coping.
  
  @param  string $file
  @return void
docstring_tokens: Perform source coping .