## 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.Font for C++](../../../)
