original_string: public static function copy(HttpRequest $request)
      {
          return new self(
              $request->getHost(),
              $request->getUri(),
              $request->getMethod(),
              $request->getHeaders(),
              $request->getBody()
          );
      }
code: public static function copy(HttpRequest $request)
      {
          return new self(
              $request->getHost(),
              $request->getUri(),
              $request->getMethod(),
              $request->getHeaders(),
              $request->getBody()
          );
      }
code_tokens: public static function copy ( HttpRequest $ request ) { return new self ( $ request -> getHost ( ) , $ request -> getUri ( ) , $ request -> getMethod ( ) , $ request -> getHeaders ( ) , $ request -> getBody ( ) ) ; }
docstring: Create copy from request
  
  @param HttpRequest $request
  
  @return CustomRequest
docstring_tokens: Create copy from request