******************************************************************
copypseq - a macro used to copy all files related to a pulse sequence 
                to a new name. 
******************************************************************

copypseq  - copypseq(<'seqname1',>'seqname2') 
                where seqname1 is an existing sequence name and 
                seqname2 is the new sequence name. If seqname1 is 
                ommited the 'seqfil is used instead. Used in pulse-
                sequence development to provide a starting sequence
                for editing in the interface.

             copypseq copys:
                seqname1.c to seqname2.c (sequence in ~/vnmrsys/psglib)
                seqname1 to seqname2 (setup macro in ~/vnmrsys/maclib)
                 - changes the sequence name in the macro.
                Seqname1 to seqname2 (protocol macro in ~/vnmrsys/maclib)
                Seqname1.par to Seqname2.par (parameter file in 
                   ~/vnmrsys/parlib)
                 - changes the sequence name in Seqname.par/procpar 
                   wherever found. 
                seqname1 to seqname2 (manual file in ~/vnmrsys/manual)
                seqname1 to seqname2 (template directory in 
                   ~/vnmrsys/templates/layout) 

             copypseq aborts if seqname1.c is not found and writes an 
                error to the text window if any other files of seqname
                are missing. 

             uses SolidsPack string function captalizestring. 
******************************************************************            

