If I sell a rental property could I payoff my mortgage on my other rental without paying capital gains tax.
No, because you are not "exchanging" property #1 for property #2. You already own property #2. Therefore your transaction is not a "like-kind exchange" under Section 1031.
**Answers are correct to the best of my ability but do not constitute tax or legal advice.