AFAIK border agents can even clone your device if they deem it necessary.