## ICollection::CopyTo method


모든 컬렉션 요소를 기존 배열 요소에 복사합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| array | System::ArrayPtr\<T\> | 대상 배열. |
| arrayIndex | int | 대상 배열 시작 인덱스. |

## 또 보기

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