Implementing a basic copy feature for messages.