This functionality is already built into the iPhone - in the Notes app, and also in the Files app. What does your software add?
Whenever im wanting to copy text on an app that hijacks the clipboard (LinkedIn/Slack) I take a screenshot, highlight the text, and copy as you would normally.
Google photos has a feature where it recognizes documents like credit cards and so you can search for them.