You can compare it - just factor that in. And compare writing it with AI vs. writing it without AI.
We have no clue the scope of the rewrite but for anything non-trivial, 2 weeks just isn't going to be possible without AI. To the point of you probably not doing it at all.
I have no idea why they are rewriting the code. That's another matter.