Have NJ income for 2019 but moved to NYC in October. Filed federal and NJ state taxes. Do I need to file NYS and NYC taxes, too?

Hi all, I hope this finds you well despite the ongoing pandemic.

I have an NJ income above $10000 for 2019 but moved to NYC in October 2019. I have filed federal and NJ state taxes. Do I need to file NYS and NYC taxes?

 

I have no NYS or NYC income.

 

If somebody can also explain how to arrive at the answer, I would be very grateful.