Added code to memcpy on reaction to backspace.