US chocolate maker Hershey has filed a lawsuit against confectionery rival Mars Inc, accusing it of copying Hershey's packaging for its Dove Promise squares.