Let's say you have two text fields, TextField1 and TextField2.
Select TextField1 and open the script editor. Select language:javascript, select show:change and enter the following:
TextField2.rawValue = TextField1.rawValue;
This will copy the text entered in TextField1 into TextField2 when any change to TextField1 has been made. You can experiment with the different choices under show.