using copyTo in datawire for deep copy
Created by: lsafina
For making a deep copy of sending data use copyTo
instead of to
in datawires.
Example
data(ProcessSpec.class, OUTGOING_PROCESS_HEADER).copyTo(ProcessSpec.class, INCOMING_PROCESS_HEADER); //deep copy
data(ProcessSpec.class, OUTGOING_PROCESS_DATA).to(ProcessSpec.class, INCOMING_PROCESS_DATA); //shallow copy