Tell me more ×  I have a jar. I want the jar to be able to make
a copy of itself while running. I understand windows may have
problems with this. How would I do this, or am I over thinking
it?  Edit: To explain a bit more....  I'm writing a repackagable
firmware deployment system... The idea is that a ROM developer
from XDA can make his own, then pack it up in a cross-platform
deployable one-click packaging nearly as easily as it is to
deploy the firmware.  My program takes alot of the work out by
automating the tasks... I'm trying to automate packaging of the
one-click deployable packaging system.... give the developers a
form to fill out which will change the header information, then
they select their firmware files to be deployed. I'm trying to
keep it all in one jar.  share|improve this question I suppose
I'll be the one to ask...Why does your code need to copy itself?
–  josh.trow Jul 8 '11 at 20:22 I'll agree with josh.trow on
this. Unless what you're seeking is curiosity then that's fine
but my immedia