## List::CopyTo(const System::ArrayPtr\<T\>\&) method


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

```cpp
void System::Collections::Generic::List<T>::CopyTo(const System::ArrayPtr<T> &array)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/)에 복사할 요소. |

## 또 보기

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::CopyTo(int, const System::ArrayPtr\<T\>\&, int, int) method


지정된 인덱스부터 시작하는 요소들을 기존 배열 요소에 복사합니다.

```cpp
void System::Collections::Generic::List<T>::CopyTo(int index, const System::ArrayPtr<T> &array, int arrayIndex, int count)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| index | int | 현재 객체가 나타내는 리스트에서 복사를 시작할 요소의 0 기반 인덱스 |
| array | const System::ArrayPtr\<T\>\& | [Array](../../../system/array/)에 복사할 요소. |
| arrayIndex | int | 대상 배열의 시작 위치. |
| count | int | 복사할 요소 수. |

## 또 보기

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::CopyTo(System::ArrayPtr\<T\>, int) method


리스트 요소를 기존 배열 요소에 복사합니다.

```cpp
void System::Collections::Generic::List<T>::CopyTo(System::ArrayPtr<T> array, int arrayIndex) override
```


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

## 또 보기

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