Can the Uno handle two serial port functions ?

Does anyone know if the Uno or the Leonardo can be used as a Serial to USB adapter?

The Leonardo can be used as this, the UNO includes an ATmega16U2 for this purpose, so theoretically it can be used too.

Thanks,

I will scour the web looking for some example code of using the Leonardo as a Serial to USB converter...