I have a jar file and a zip file. I need to move the contents of the .zip into the .jar--how can I do this using C++? I have no pre-existing code, not really sure where to begin. Is there a system() batch command that can merge the files? Perhaps even just the "copy" command with some operator?

I do not want to use 7z or winRAR, I'd like this to be all C++ or maybe even batch if there is a way via system(). I just don't want users to have to download those utilities in order for this launcher to work.

The application of this is with a custom Minecraft launcher. I need to merge the forge files with the Minecraft.jar file. Its illegal to distribute a modded Minecraft.jar--Gotta download the normal one from Minecraft, then the mods, and then combine.

Thanks!