make temp copy of NetworkPacket to protect against vector resizing