I don't think it was intended as a compliment.
I would have retorted, "And you're the best plagiarist I've ever read."