FileOutputStream out = null;
try {
in = new FileInputStream(file1);
out = new FileOutputStream(file2);
ZipUtil.transformEntry(in, name, new FileZipEntryTransformer() {
protected void transform(ZipEntry zipEntry, File in, File out) throws IOException {
FileWriter fw = new FileWriter(out);
fw.write("CAFEBABE");
fw.close();
}