"and" is OK. The difference between "compare with" and "compare to" is a perennial question in English. People say that "compare with" means to examine differences, while "compare to" means to note similarities.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.