I have considerable funds that are currently invested in a mutual fund, but I would like to transfer them to an index fund in order to take advantage of lower fees and better performance. However, as this money has been in my mutual fund for several years, I am worried that the transfer might trigger a large capital gains tax. Is there any way for me to make the transfer without having to paying the capital gains tax (until I decide to actually sell and collect the profits)?