public static void streamToStream(final InputStream inputStream, final OutputStream outputStream) {
        streamToStream(inputStream, outputStream, true);
    }
Take a stream to another stream (AND CLOSE BOTH).
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/StreamUtil.java