copy language information from input stream to output