Copying human interactions through learning and discovery