message: simplified arraycopy method
diff: export default class System {
  +
  // public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)
  - public static arraycopy(src: any, srcPos: number, dest: any, destPos: number, length: number) {
  + /**
  + * Makes a copy of a array.
  + */
  + public static arraycopy(src: any, srcPos: number, dest: any, destPos: number, length: number): void {
  // TODO: better use split or set?
  - let i = srcPos;
  - let j = destPos;
  - let c = length;
  - while (c--) {
  - dest[j++] = src[i++];
  + while (length--) {
  + dest[destPos++] = src[srcPos++];
  }
  }
  - public static currentTimeMillis() {
  + /**
  + * Returns the current time in milliseconds.
  + */
  + public static currentTimeMillis(): number {
  return Date.now();
  }
  }
  