File rootOrig = Util.extractZip(new File(origZip));
File rootMod = Util.extractZip(new File(modZip));
FilesPatch fp = FilesPatch.generate(rootOrig, rootMod);
File rootIn = Util.extractZip(new File(inZip));
File rootOut = Util.getTempDir();
fp.patchAll(rootIn, rootOut);
Util.packZip(new File(outZip), rootOut);
Util.remDir(rootOrig);
Util.remDir(rootMod);
Util.remDir(rootIn);
Util.remDir(rootOut);