Recycling your old material because you're going at it in a rap battle and it's fast-paced and you're integrating it with stuff you're managing to come up with on the spot and you've got a beat is still freestyle. Especially when you have flow and really spitting it out, like a proper rap.
Going "ok, remember how that one song goes and how you've been practicing it in the studio this week" and then copying that exactly how you've been practicing it is not.