Adding copy to buffer action to some element