Transfer ALL from UART1 to UART2

Hi,
i’m trying the same thing on q2686. I have an external device (sensor) and trying to send data to UART2. Unfortunately Uart2dataHandler does not respond in data sending.
I used the code that is posted in (http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=5&t=2386&p=8827&hilit=+uart*+data+stop#p8827).
Does anyone know what’s wrong??