Help| I cant understand this problem

I have tried every thing but it wont work...This program get md5 hashes of files.
Here is all of my source code, please help me:
ERROR:
When trying to put data of MD5Hashes the program automatically sends an empty slot in the array, I even tried to push it one forward with the copyTo function but it didn't work.
1)The main problem is when the data is sent to the GetMD5HashFromFile -> it gets an empty filepath..
look at lines 41-51~ I think that the problem is there.
2) I want an array that could hold more than 100 slots I want it to grow regarding the folder files size...