Choose Save to Sets from a block’s menu, or save the whole page. The dialog asks for a name and, if you like, a group. Click an item to add it: a block goes after the selection, a page goes at the end or replaces the current page. A workflow can be saved too, and added to another page, which then asks which block of that page each reference should point to.
Move an item with Move to group, or drag it onto a group; a group’s menu renames it or ungroups it. Export downloads items as a JSON file, and Import adds the items of such a file, groups included. Everything imported goes through the same checks as a saved page, so unknown blocks and unsafe values are dropped. Images are stored by Media Library ID, so on another site they only appear if that ID exists there.