question: public static EventBean [ ] addToArray ( EventBean [ ] array , Collection < EventBean > eventsToAdd ) { EventBean [ ] newArray = new EventBean [ array . length + eventsToAdd . size ( ) ] ; System . arraycopy ( array , 0 , newArray , 0 , array . length ) ; int counter = array . length ; for ( EventBean eventToAdd : eventsToAdd ) { newArray [ counter ++ ] = eventToAdd ; } return newArray ; }
target:  Expand the array passed in by the multiple elements to add.