code: public static <T> GenericResponseBuilder<T> fromResponse(GenericResponse<T> response) {
      GenericResponseBuilder<T> builder =
          genericResponseBuilderFactory.create(response.getStatus(), response.body());
  
      for (String headerName : response.getHeaders().keySet()) {
        List<Object> headerValues = response.getHeaders().get(headerName);
        for (Object headerValue : headerValues) {
          builder.header(headerName, headerValue);
        }
      }
      return builder;
    }
docs: Creates a new {@link GenericResponseBuilder} by performing a shallow copy of the existing
  response.
  
  @param response the {@link GenericResponse} to create a new builder from.
  @see Response.ResponseBuilder#fromResponse(Response)
  @return a new builder