question: private static void copyFile ( InputStream stream , OutputStream outStream ) throws IOException { int len ; final byte [ ] buffer = new byte [ CarbonCommonConstants . BYTEBUFFER_SIZE ] ; try { for ( ; ; ) { len = stream . read ( buffer ) ; if ( len == - 1 ) { return ; } outStream . write ( buffer , 0 , len ) ; } } catch ( IOException e ) { throw e ; } finally { CarbonUtil . closeStreams ( stream , outStream ) ; } }
target:  This method will copy input stream to output stream it will copy file to destination