When you press the keybind (K by default), it moves all items from your inventory into nearby containers that already contain those items.