Forwarding arduino uno Rx to Tx

This is probably an easy thing to do but I haven't found any info on it, maybe it's my wording.

I'd like to take incoming serial midi messages on the hardware Rx of an arduino uno and then relay/forward those messages to the hardware Tx pin.

I also need to be able to send serial data (not forwarded) from the Tx pin of the uno.

I don't need to Tx from the arduino and forward at the same time, just to change settings.

How about:

Serial.write(Serial.read());

?

works great. thanks!