public void addCookies(final Cookie[] cookies) {
        if (cookies != null) {
            for (final Cookie cookie : cookies) {
                this.addCookie(cookie);
            }
        }
    }
Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
in the given array order. If any of the given cookies has already expired it will
not be added, but existing values will still be removed.

@param cookies the {@link Cookie cookies} to be added

@see #addCookie(Cookie)
httpclient5/src/main/java/org/apache/hc/client5/http/cookie/BasicCookieStore.java