static void copyStreamAndCloseAll(InputStream in, OutputStream out) ctex { try { copyStream(in, out); } finally { out.close(); } }