public static SimpleResponseBuilder copy(final SimpleHttpResponse response) {
        Args.notNull(response, "HTTP response");
        final SimpleResponseBuilder builder = new SimpleResponseBuilder(response.getCode());
        builder.digest(response);
        return builder;
    }
Copies a source instance into a new one.

@param response the source instance to copy.
@return a new SimpleResponseBuilder.
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleResponseBuilder.java