IOUtils.copy and IOUtils.copyLarge are very slow
===

I've implemented a REST service for downloading a moderately large (250 Mb) zip file using IOUtils.copy(), similar to [Most effective way to write file to servletoutputstream][1]. The REST service is called from another app using HttpURLConnection. I use IOUtils.copy() on the receiving side to save the file to disk.

It takes over 30 minutes to download a file. This is **way** too slow.

Ideas? Better implementations?


  [1]: http://stackoverflow.com/questions/4645441/most-effective-way-to-write-file-to-servletoutputstream