public static boolean areIdenticals(File oldFile, File newFile) {
		if(oldFile.length() != newFile.length())
			return false;
		try {
			FileInputStream fis = new FileInputStream(oldFile);
			FileInputStream fis2 = new FileInputStream(newFile);
			
			byte[] buffer1 = new byte[1024];
			byte[] buffer2 = new byte[1024];
			while(true) {
				int nb = fis.read(buffer1);
				if(nb < 0)
					break;
				fis2.read(buffer2);
				for(int i=0; i<nb; i++) {
					if(buffer1[i] != buffer2[i]);
				}
			}
			return true;
		} catch(Exception ex) {
			throw new RuntimeException(ex);
		}
	}