## BaseKVCollection::CopyTo method


Copies data to existing array elements.

```cpp
virtual void System::Collections::Generic::BaseKVCollection<Dict, KV>::CopyTo(ArrayPtr<KV> arr, int index) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | ArrayPtr\<KV\> | Destination array with sufficient size. |
| index | int | Start index in destination array. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [BaseKVCollection](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
