It's not actually true that you can "lose the copyrights to your music" if you use pirated software to produce it, is it? That doesn't sound at all true.
Unless perhaps the software ships with audio samples that are granted royalty-free usage to anyone who has a legit license to the software package? Extremely unlikely, just trying to imagine why someone would think this.