Two input fields, give the second input field always the same value as input field one

Two input fields, give the second input field always the same value as input field one

I am having a form with two input fields. I want to enter some text in the first input field and then the second field should get the same text. Is there a simple way (maybe a plugin) to do this with jQuery? It would be perfect if I even could output all these input fields values as normal text in <p> or <li> tags.

Kind regards
Andreas