(
        self, source: PATH_TYPES, dest: PATH_TYPES, dest_container: Optional[str] = None
    )
return
Copy a file from **source** to **dest**
Copy a file from **source** to **dest**
Copy a file from ** source ** to ** dest **
def copy_file(
        self, source: PATH_TYPES, dest: PATH_TYPES, dest_container: Optional[str] = None
    ) -> None:
        """Copy a file from **source** to **dest**"""
        if dest_container is None:
            dest_container = self.default_container
        dest = f"{dest_container}/{dest}"
        with self.connection() as conn:
            conn.copy_object(self.default_container, str(source), dest)
        return
def copy_file ( self , source : PATH_TYPES , dest : PATH_TYPES , dest_container : Optional [ str ] = None ) -> None : if dest_container is None : dest_container = self . default_container dest = f"{dest_container}/{dest}" with self . connection ( ) as conn : conn . copy_object ( self . default_container , str ( source ) , dest ) return