Ariz. Rev. Stat. § 33-2624
The court may issue any order, process or judgment that is necessary or appropriate to carry out this chapter.