## ControlCollection::CopyTo method


Copies collection contents into existing array elements.

```cpp
virtual void System::Windows::Forms::Control::ControlCollection::CopyTo(System::ArrayPtr<System::SharedPtr<Control>> array, int arrayIndex) override
```

## See Also

* Typedef [ArrayPtr](../../../../system/arrayptr/)
* Typedef [SharedPtr](../../../../system/sharedptr/)
* Class [Control](../../)
* Class [ControlCollection](../)
* Class [Control](../../)
* Namespace [System::Windows::Forms](../../../)
* Library [Aspose.Page for C++](../../../../)
