Addition to Larry Woods SQL query, you need to consider these-
INSERT IGNORE INTO table1
SELECT * FROM table2;
which allows those rows in table1 to supersede those in table2 that have a matching primary key, while still inserting rows with new primary keys.
Refer MySQL docs: http://dev.mysql.com/doc/refman/5.5/en/insert-select.html
Alternatively,
REPLACE INTO table1
SELECT * FROM table2;
will update those rows already in table1 with the corresponding row from table2, while inserting rows with new primary keys.
Refer: http://dev.mysql.com/doc/refman/5.5/en/replace.html