Although “compare something to something” and “compare something with something” do not mean the same (you can read more about the differences in my previous article), “in comparison to” and “in comparison with” do mean the same. You can say, for example,
as well as
and the meaning is essentially the same as that of “compared with” and “compared to”. Other examples:
It is worth noting that “in comparison with” used to be much more common in the past than “in comparison to”, but there is no difference in their relative frequencies in modern English literature.