public static int copy(File src,File dest) throws IOException {
  return copy(new FileInputStream(src),new FileOutputStream(dest),true);
}

public static int copy ( File src , File dest ) throws IOException { return copy ( new FileInputStream ( src ) , new FileOutputStream ( dest ) , true ) ; }
copy file src to file destination
