A transfer of funds from my overseas bank account

I am a US resident alien, and I own a foreign bank account. I read in an earlier post that A transfer of funds from your personal bank account to your personal bank account is Not income. In other words, if I transfer $20,000 to my account, it won't be my income. Is that right? So can I put some of that money into my IRA account?