## String::CopyTo method


문자열 문자를 기존 배열 요소에 복사합니다. 크기 조정은 수행되지 않습니다.

```cpp
void System::String::CopyTo(int sourceIndex, const ArrayPtr<char_t> &destination, int destinationIndex, int count) const
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| sourceIndex | int | 읽기를 시작할 문자열 내 인덱스. |
| destination | const ArrayPtr\<char_t\>\& | 대상 배열. |
| destinationIndex | int | 쓰기 시작할 배열 내 인덱스. |
| count | int | 복사할 문자 수. |

## 또 보기

* Typedef [ArrayPtr](../../arrayptr/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
