@Deprecated
    public static SimpleHttpRequest copy(final HttpRequest original) {
        Args.notNull(original, "HTTP request");
        final SimpleHttpRequest copy = new SimpleHttpRequest(original.getMethod(), original.getRequestUri());
        copy.setVersion(original.getVersion());
        for (final Iterator<Header> it = original.headerIterator(); it.hasNext(); ) {
            copy.addHeader(it.next());
        }
        copy.setScheme(original.getScheme());
        copy.setAuthority(original.getAuthority());
        return copy;
    }
Copies the given HttpRequest.

@param original the source to copy.
@return a new SimpleHttpRequest.
@deprecated Use {@link SimpleRequestBuilder}
httpclient5/src/main/java/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java