Well you can just use Title::moveTo() directly.
I figured there was something like that I could use, but wasn’t sure if I’d be able to figure it out. (remember, is noob)
I’m guessing it would be something along the lines of
Title::moveTo
(
$param2,
$auth = true,
$reason = $param3,
$createRedirect = true
)
;