copy() returns a new Message object, while copyTo(dest)
copies the contents of this Message into dest. dest must
be a valid (i.e. initialised) Message.
Warning:
These functions may not do what you think they do. Please refer
to $(ZMQAPI zmq_msg_copy(),the $(ZMQ) manual) for details.
Copies message content to another message.
copy() returns a new Message object, while copyTo(dest) copies the contents of this Message into dest. dest must be a valid (i.e. initialised) Message.
Warning: These functions may not do what you think they do. Please refer to $(ZMQAPI zmq_msg_copy(),the $(ZMQ) manual) for details.