InputStream is = gm3.getResponseBodyAsStream();
FileOutputStream fos = new FileOutputStream("c:/abc.txt");
IOUtils.copy(is, fos);
IOUtils.closeQuietly(fos);
IOUtils.closeQuietly(is);
FileOutputStream fos = new FileOutputStream("c:/abc.txt");
IOUtils.copy(is, fos);
IOUtils.closeQuietly(fos);
IOUtils.closeQuietly(is);