There are a few subtle differences. Butter cookies have more sugar and a lower ratio of butter to flour which makes them hold their shape. They bake at a higher temperature so may have some browning around the edges, unlike shortbread.