original_string: public function getPackageCopy()
      {
          $copy = new Package(
              $this->package->getName(),
              $this->package->getVersion(),
              $this->package->getPrettyVersion()
          );
          $copy->setType($this->package->getType());
          $copy->setExtra($this->package->getExtra());
  
          return $copy;
      }
code: public function getPackageCopy()
      {
          $copy = new Package(
              $this->package->getName(),
              $this->package->getVersion(),
              $this->package->getPrettyVersion()
          );
          $copy->setType($this->package->getType());
          $copy->setExtra($this->package->getExtra());
  
          return $copy;
      }
code_tokens: public function getPackageCopy ( ) { $ copy = new Package ( $ this -> package -> getName ( ) , $ this -> package -> getVersion ( ) , $ this -> package -> getPrettyVersion ( ) ) ; $ copy -> setType ( $ this -> package -> getType ( ) ) ; $ copy -> setExtra ( $ this -> package -> getExtra ( ) ) ; return $ copy ; }
docstring: Get a simple copy of the package.
  
  @return Package
docstring_tokens: Get a simple copy of the package .