Cannot perform the final step for setting up Android emulator for Expo app

I was following this guide on expo doc to setup android emulator for expo projects.

When I executed sudo cp ~/Library/Android/sdk/platform-tools/adb /usr/bin, I got the following error:
cp: /usr/bin/adb: Operation not permitted

I’m using Monterey on my Mac. I granted full access to full disk access to Terminal app.

Does someone have any idea how to deal with this error?

I figured out a solution. Instead of using usr/bin use usr/local/bin. Mac has a security system called System Integrity Protection, which makes certain directories read-only.

See this StackOverflow post: macos - Operation Not Permitted when on root - El Capitan (rootless disabled) - Stack Overflow