The phrase "to dip the cookies" means to put a cookie partially into a liquid (like milk or coffee) for a short time before eating it.