If you moved mid-year, you'll need to file a part-resident state return for each of the 2 states.
You do not pay state taxes in each state on your total income. On each state return, you'll allocate only the income earned while you were a resident of that state.