Copy lex string for the parser