MLTransferExpression()
int MLTransferExpression(MLINK dest, MLINK src) transfers an expression from one MathLink connection to another.
src and dest need not be distinct. src and dest can be either loopback or ordinary links. See The Mathematica Book: Section 2.12.12.