To slice cookie bars in a pan,
using a chef's knife, press down into the cookie bars until you feel it slice through to the pan, making horizontal and vertical lines of equal distance across the pan.
using a chef's knife, press down into the cookie bars gently to cut through the top layer, making horizontal and vertical lines of equal distance across the pan.