How do I insert data at the beggening of the file so that it moves everything over and doesn't overwrite the existing data?
Do I have to write to another tempory file the data I want to add then read in existing file and append it to the temporary file in order to get that result? Is there a better way?
file1.txt:
Hendrix
file1.txt after adding data the way I want it:
Jimi Hendrix
instead of like this:
Jimirix