public static void copy(Resource in,Resource out) throws IOException {
  in.copyTo(out,false);
}

public static void copy ( Resource in , Resource out ) throws IOException { in . copyTo ( out , false ) ; }
copy a input resource to a output resource
