Yes, since $$\phi_*K_X=K_Y.$$