Just a thought........for a program to copy itself (i saw this post earlier and I just want to see if my brain is capable of thinking of this).
To do so (inefficiently), could an array within the program hold the exact characters of the compiled exe. And then open an .exe file in binary mode and simply write the new characters to that file...and it would be able to run?
I thought of this because I realized that in my downloader program...all it does when it downloads an exe is read in one character at a time and then write it to the same extension.
Any thoughts? This is for ideal purposes...I would have already tried writing this if I wanted to misuse it.