Fixed very confusing mistake in memcpy (lexer's buffer was corrupted)