The EXCLUDE statement excludes from the COPY operation all SAS files that begin with the letter D and the other SAS files listed. All remaining SAS files in the HEALTH data library are copied to the DEST2 data library.
   copy out=dest2;
      exclude d: mlscl oxygen source test2 vision weight;
quit;