The Closeness of In-Context Learning and Weight Shifting for Softmax Regression