How can I copy to the clipboard on a stock phone?
The key is not putting the password into the file, but make it the filename. Then you can rename the file in the file manager and copy the password through the rename dialog.