Fixes System.arraycopy. Fixes long array creation