I duplicated the bone then flip name, but it did not really work. (Like the attached image below.)
The name of the bone was legUp.L. After duplicating, the new bone's name was legUp.L.001. Then I flipped name, and it became legUp.R.001.
Why didn't it remove .001?