## ICollection::CopyTo method


Menyalin semua elemen koleksi ke elemen array yang sudah ada.

```cpp
virtual void System::Collections::Generic::ICollection<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex)=0
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| array | System::ArrayPtr\<T\> | Array tujuan. |
| arrayIndex | int | Indeks awal array tujuan. |

## Lihat Juga

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [ICollection](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
