My left pocket gives money to my right pocket, and I take a tax deduction for the donation.
What could be wrong with that?
No regulations about using foundations, charities, etc. as that kind of shell game?