Resting resonators is part of the resolution of the spell and is not a cost. Thus, "Inquisition's" controller will still rest resonators upon resolution even if the target becomes illegal, but no resonators will be rested if "Inquisition" is cancelled.
This card can be copied provided the target remains legal, regardless whether the target is actually destroyed or not.