You can copy a file from SharePoint Online by using the Web activity to authenticate and grab the access token from SPO, then passing it to the subsequent Copy data activity to copy the file with the HTTP connector as the source.

Follow the prerequisites to create AAD application and grant permission to SharePoint Online.

Web activity - GetBearerToken

Create a Web Activity to get the access token from SharePoint Online, name it "GetBearerToken"

General

Settings

Copy data - CopyDataFromSPO

Chain with a Copy activity with HTTP connector as source to copy SharePoint Online file content, name it "CopyDataFromSPO":

General

Source

Sink