Select multiple items in table and move them with the option of another multiple select

The user should be able to select multiple items from a table and then have the option to move them to another place which he gain must choose from a searchable table. Also the user should have the possibility to select multiple icons in this second table. Is there a better pattern than showing the second table in an overlay? Or does anybody know about a website where you can do kind of a similar action? Thanks for your answers enter image description here