## HttpHeaderValueCollection::CopyTo method


Copies all collection elements to existing array elements.

```cpp
void System::Net::Http::Headers::HttpHeaderValueCollection<T>::CopyTo(System::ArrayPtr<T> array, int32_t arrayIndex) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| array | System::ArrayPtr\<T\> | Destination array. |
| arrayIndex | int32_t | Destination array start index. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [HttpHeaderValueCollection](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Font for C++](../../../)
