public CopyOnWriteArrayList (E[] toCopyIn)

Creates a list holding a copy of the given array.

Parameters:
toCopyIn    the array (a copy of this array is used as the internal array)

Exceptions:
NullPointerException    if the specified array is null