| Dart.PowerTCP.Zip Namespace > Archive Class : CopyTo Method |
| Exception | Description |
|---|---|
| System.ArgumentNullException | array is a null reference (Nothing in Visual Basic). |
| System.ArgumentOutOfRangeException | Index is less than zero. |
| System.ArgumentException | array is multidimensional. |
| System.InvalidCastException | The type of the source ArrayList cannot be cast automatically to the type of the destination array. |
The specified array must be of a compatible type.
This method uses Array.Copy to copy the elements.