Moved copy() to BaseMessage.