original_string: private function copyConfigFile()
      {
          $path = $this->getConfigPath();
  
          // if generatords config already exist
          if ($this->files->exists($path) && $this->option('force') === false) {
              $this->error("{$path} already exists! Run 'generate:publish-stubs --force' to override the config file.");
              die;
          }
  
          File::copy(__DIR__ . '/../config/config.php', $path);
      }
code: private function copyConfigFile()
      {
          $path = $this->getConfigPath();
  
          // if generatords config already exist
          if ($this->files->exists($path) && $this->option('force') === false) {
              $this->error("{$path} already exists! Run 'generate:publish-stubs --force' to override the config file.");
              die;
          }
  
          File::copy(__DIR__ . '/../config/config.php', $path);
      }
code_tokens: private function copyConfigFile ( ) { $ path = $ this -> getConfigPath ( ) ; // if generatords config already exist if ( $ this -> files -> exists ( $ path ) && $ this -> option ( 'force' ) === false ) { $ this -> error ( "{$path} already exists! Run 'generate:publish-stubs --force' to override the config file." ) ; die ; } File :: copy ( __DIR__ . '/../config/config.php' , $ path ) ; }
docstring: Copy the config file to the default config folder
docstring_tokens: Copy the config file to the default config folder