Because Teams' file storage is provided by SharePoint, you have all of SharePoint's features available- specifically the Restricted View permission level to prevent team members from downloading or otherwise copying files.
How to Configure Restricted View in Microsoft Teams to Prevent Team and Channel Members from Downloading or Copying Files
H