A double bar does not mean "two bars". It is two single bar lines drawn close together. These are simply ways of visually dividing the music into sections. A double bar line can be written with one being thicker than the other. This double bar line shows the end of a piece of music.