How did Dairy Queen get its famous swirl on top of their ice cream?

The Dairy Queen workers have to go to school for learning how to make it and I am pretty sure that it is copyrighted. That's all I know.