
## CopyTo {#copyto}

Copies the elements of the TimephasedDataCollection to an System::Array , starting at a particular System::Array index.

**Returns:** void Aspose::Tasks::

```cpp
CopyTo(System::ArrayPtr< System::SharedPtr< TimephasedData >> array, int32_t arrayIndex)
```

| Parameter | Description |
| --- | --- |
| array | The one-dimensional System::Array that is the destination of the elements copied from TimephasedDataCollection . The System::Array must have zero-based indexing. |
| arrayIndex | The zero-based index in array at which copying begins. |

