Fill method to fill the image array with the data from the random image