To prevent passwords from being unnecessarily exposed, don’t show all passwords.
Only copy the password selected.
Have another button to view the password.
Most of the time i don’t need to see the pw myself and it being on the screen is a security risk.