Copies the header, data, and settings, of the GXPacket object.

Parameters
-
packet (GXPacket)
- Packet to be copied.
-
contentsOnly (Boolean)
- If True, only the header and data of the packet are copied. If False, settings are copied, too.
Assembly:
Gurux.Client (Module: Gurux.Client) Version: 5.0.0.1