log4net SDK Reference |

# LevelCollection.CopyTo Method

Copies the entire `LevelCollection` to a one-dimensional Level array.

#### Overload List

Copies the entire `LevelCollection` to a one-dimensional Level array.

> public virtual void CopyTo(Level[]);

Copies the entire `LevelCollection` to a one-dimensional Level array, starting at the specified index of the target array.

> public virtual void CopyTo(Level[],int);

#### See Also

LevelCollection Class | log4net.Core Namespace