If both the tables have the same schema then use this query:
insert into database_name.table_name select * from new_database_name.new_table_name where='condition'
Replace database_name with the name of your 1st database and table_name with the name of table you want to copy from
also replace new_database_name with the name of your other database where you wanna copy and new_table_name is the name of the table.