code: private static List<WComponent> copyChildren(final List<WComponent> children) {
  		ArrayList<WComponent> copy;
  
  		if (children == null) {
  			copy = new ArrayList<>(1);
  		} else {
  			copy = new ArrayList<>(children);
  		}
  
  		return copy;
  	}
docs: Creates a copy of the given list of components.
  
  @param children the list to copy.
  @return a copy of the list.