copy border commands