static void listCopy(List from, int fromLength, List to, [int toOffset = 0]) { for (var i = 0; i < fromLength; i++) { to[i + toOffset] = from[i]; } }