
## CopyTo {#copyto}

copies a collection content into an Array, starting at a particular index

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

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

| Parameter | Description |
| --- | --- |
| array | an array to copy to. |
| arrayIndex | starting array index |

