I\'m attempting to copy the data from one file by writing it to memory and then copy it into another using memcpy but I\'m stumped. I cannot get it to stop giving me segment