This is a sort - it will sort the records by the first 5 bytes, so they will be rearranged (unless they're already in sorted order). A sort is different from a copy.
The question was:
How to copy only the required records from a sequential file with out writing a COBOL program.
For a copy operation, use:
How you would copy only the required records depends on how you identify the records to be copied. If you want to copy from record x to record x+n (e.g. records 5-10), you can use SKIPREC and STOPAFT (or OUTFIL STARTREC and ENDREC). If you want to copy records identified by a specific criteria (e.g. all the records with 'A' in position 25), you can use INCLUDE. If you want to copy a sample of records (e.g. every 10th record), you can use SAMPLE, etc.
If you need more specific help, describe how you want to identify the records to be copied.