public void copy(File in,File out) throws IOException {
  InputStream is=null;
  OutputStream os=null;
  try {
    is=new BufferedFileInputStream(in);
    os=new BufferedFileOutputStream(out);
  }
 catch (  IOException ioe) {
    closeEL(is,os);
    throw ioe;
  }
  copy(is,os,true,true);
}

public void copy ( File in , File out ) throws IOException { InputStream is = null ; OutputStream os = null ; try { is = new BufferedFileInputStream ( in ) ; os = new BufferedFileOutputStream ( out ) ; } catch ( IOException ioe ) { closeEL ( is , os ) ; throw ioe ; } copy ( is , os , true , true ) ; }
copy content of in file to out file
