Hi @Anonymous,
Could you please explain more details about the document in teams?
There is no trigger or action of Microsoft Teams connector in microsoft flow could get a document in teams,
I afraid that there is no any way to copy a document from teams to sharepoint in microsoft flow currently,
If you would like the feature to get a document in teams to be added in Microsoft Flow so you could achieve your neeeds to copy a document from teams to sharepoint, please submit an idea to Flow Ideas Forum so it might be considered for future releases:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Best regards,
Alice