static void copyList(Collection a, Collection b) { if (a == null || b == null) ret; b.clear(); b.addAll(a); }