udp deepcopy