May be you can use rcopy directly.