Could you elaborate on the advantages of engaging in a 1031 exchange? Specifically, how does it benefit investors in terms of tax savings, portfolio diversification, and capital preservation? Additionally, what are the key steps involved in executing a successful 1031 exchange, and what are some potential pitfalls to avoid?