I'm trying to split a file in chunks, and regrouping the chunks later, but i don't know what is going wrong.
- The main function splits a file into "n" parts of "nChunkSize" size
- The regroup function is supposed to write the chunks into one file to rebuild it
What is "almost" working :
- The chunk files are successfully created, having the same size excepted the last one
- The rebuilt final file has "almost" the same size as the initial one