You probably need to set your current working directory to the appropriate directory for the xcopy.