Stopped the previous hash from being submitted by copying the char arrays