# CopyNetworkMessage

## Description

Creates a network message that is a copy of an existing message. It returns an ID that can be used to interact with the message. Messages created in this way can read from the beginning or added to, and the source messsage can be either a message you have created, or one you have received. The new message becomes completely independent of the source message and can be sent using SendNetworkMessage without affecting the original.

## Definition

integer CopyNetworkMessage( iFromMsgID )

UINT agk::CopyNetworkMessage( UINT iFromMsgID )

## Parameters

- iFromMsgID - The ID of the message to copy