The file storage provider entity containing connection details
The key or name of the source file to copy
The key or name for the destination copy
OptionaluserContext: UserContextOptionsOptional user context for OAuth providers (required if provider.RequiresOAuth is true)
A promise that resolves to a boolean indicating whether the copy was successful
Copies an object from one location to another within the specified file storage provider.
This utility function handles copying files by instantiating the appropriate storage provider driver and delegating to its CopyObject method. It can be used to duplicate files within the same storage provider, either in the same folder with a different name or to a different folder.