Importing/exporting groups

How can a group be exported from one library to another, and then have all of the group entries deleted from the original library?

===Mark