public void copyNewToOld() {
        System.arraycopy(newList, 0, oldList, 0, newLen);
        oldLen = newLen;
        newLen = 0;
    }
Copies the new list to the old list, and clears the new list.
jme3-core/src/main/java/com/jme3/renderer/IDList.java