CopyTo(Microsoft.SharePoint.WebPartPages.MenuItem[], Int32) Method
The CopyTo method of the MenuItemCollection class copies the entire collection into a one-dimensional array starting at the specified index.
Parameters
array An array of MenuItem objects to be added to the menu.
index The location in the current collection to add the array of MenuItem objects.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security