upadting char array to be the size of the executable