You figure that was copied from the confederate flag?
What you're actually thinking of is that west Florida used to have a flag that was also just one star that looks kind of like the Somalian flag. There is no actual connection though. It's just a coincidence. The star is an ultra standard symbol on flags. The blue in the Somalian flag actually is the UN's shade of blue. It's a tribute to the UN's service in Somalia. But if anybody is curious what happened to the star from the west Florida flag, it wound up on the left side of the Texas flag. Hence, the "lone star" state. Wikipedia ftw.