Investors & landlords

Sounds to me like you're thinking about an old outdated tax law whereby if you sold a house at a profit but then bought another more expensive house with the proceeds you could defer the capital gain.  That tax law was eliminated back in the '70s.