libname mylib 'sas library';
proc catalog catalog=mylib.mycat;
   copy out=work.newcat move;
proc catalog catalog=work.newcat;
   copy out=mylib.mycat;
run;

________________________________________________________________________

libname mylib 'sas library';
proc copy in=mylib out=work memtype=catalog move;
proc copy in=work out=mylib memtype=catalog;
run;