If you are on an Android device you can export an encrypted backup and scan a QR code / type in the password to the encrypted archive to transfer messages / group memberships with only a safety number change in most cases.
https://support.signal.org/hc/en-us/articles/360007059752-Ba...
No dice for iOS unfortunately.