Implement a proper copy for the message object