Fixed a few bytearray bugs.

Now skips the final ']' array bracket.
Base types reallocs now realloc the correct size.