Copies all the items from the System.Web.UI.WebControls.MenuItemStyleCollection object to a compatible one-dimensional array of System.Web.UI.WebControls.MenuItemStyle objects, starting at the specified index in the target array.
Use the MenuItemStyleCollection.CopyTo(MenuItemStyle[], int) method to copy the contents of the System.Web.UI.WebControls.MenuItemStyleCollection object into the specified zero-based array of System.Web.UI.WebControls.MenuItemStyle objects. Items are copied starting at the specified index of the target array. You can then use the array to access the items in the collection.