You can get either exact copies or brief “transcript” of your past U.S. federal tax returns from the IRS.
Typically, you can request copies or transcripts of Tax Forms 1040, 1040A, and 1040EZ for up to 6 years after they were filed (after which they are destroyed by law). Copies of other types of tax forms may be available for longer than 6 years.