Incorporation of phosphate into glycogen by glycogen synthase.