Copying VexCode from one program to another

I have a successful version written for my teams design but now trying to convert to Competition Template. Am I able to simply copy and paste from one program to the other. Having issues doing this. All variable names for my motors are showing up as errors in the new Comp Temp I created. I did copy over the robot-config.h and robot-config.cpp . Any help would be greatful.

Jim M.

Your main function can be pasted into the usercontrol function and everything else will likely be right after your device declarations