## String::CopyTo method


ينسخ أحرف السلسلة إلى عناصر مصفوفة موجودة. لا يتم إجراء تغيير حجم.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| sourceIndex | int | فهرس داخل السلسلة للبدء بالقراءة منه. |
| destination | const ArrayPtr\<char_t\>\& | مصفوفة الوجهة. |
| destinationIndex | int | فهرس داخل المصفوفة للبدء بالكتابة منه. |
| count | int | عدد الأحرف التي سيتم نسخها. |

## انظر أيضًا

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