You could also take this a step further. Suppose you have MyISAM tables and you had some weak FK dependancy. You could do :
INSERT INTO test1 (col1, col2, col3, col4) SELECT col1+4000000,col2, col3, col4 FROM test2
then when you import the the other table do the same increment. 4,000,000 can be any number as long as it increments higher then max(col1). 🙂