## BaseSet::CopyTo method


Copies hash contents into existing array elements.

```cpp
void System::Collections::Generic::BaseSet<T, SET_T>::CopyTo(ArrayPtr<T> arr, int index) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| arr | ArrayPtr\<T\> | Destination array. |
| index | int | Destination array beginning index. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [BaseSet](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
