Transferring part of your before-tax contributions to your spouse is known as contribution splitting. You can do this using the Contribution Splitting Advice form.
Or you can make a spouse contribution. This is when you pay money into your spouse's super account from your after-tax income.
A transfer of superannuation to an ex because of divorce or separation is a little different.