public CopyOnWriteArrayList(E[] toCopyIn){
  setArray(Arrays.copyOf(toCopyIn,toCopyIn.length,Object[].class));
}

public CopyOnWriteArrayList ( E [ ] toCopyIn ) { setArray ( Arrays . copyOf ( toCopyIn , toCopyIn . length , Object [ ] . class ) ) ; }
creates a list holding a copy of the given array .
