/// <summary> /// Copies the entire <see cref="DicesCup"/> to a compatible one-dimensional array, starting at the specified index of the target array. /// </summary> /// <param name="array">The one-dimensional System.Array that is the destination of the elements copied from <see cref="DicesCup"/>. The System.Array must have zero-based indexing.</param> /// <param name="arrayIndex">The zero-based index in array at which copying begins.</param> /// <exception cref="System.ArgumentNullException">Array is null.</exception> /// <exception cref="System.ArgumentOutOfRangeException">ArrayIndex is less than 0.</exception> /// <exception cref="System.ArgumentException">The number of elements in the source <see cref="DicesCup"/> is greater than the available space from arrayIndex to the end of the destination array.</exception> public void CopyTo(Dice[] array, int arrayIndex) { Dices.CopyTo(array, arrayIndex); }