You can use the COPY statement in
the DATASETS procedure to copy all or some SAS data sets from one
library to another. When copying data sets, SAS duplicates the contents
of each file, including the descriptor information, and updates information
in the directory for each library.
processing, SAS automatically writes the data from the input library
into an output data set of the same name. If there are duplicate data
set names, then you do not receive a warning message before copying
Before you make changes to libraries, it is important to obtain directory listings of the input and output libraries in order to visually check for duplicate data set names. ...