program works with the moveR instead of CopyR