(a) (1) If a petition is filed under this subtitle in a county other than the county where the child is living or domiciled, the court on its own motion, or on motion of a party, may transfer the proceedings to the county of residence or domicile at any time prior to final termination of jurisdiction.
(2) In its discretion, the court to which the case is transferred may take further action.
(b) Every document, social history, and record on file with the clerk of the court pertaining to the case shall accompany the transfer.