check for error on rcopy (#2)