Copy value of the given path in this store to the destination store.
Copy value of the given path in this store to the destination store.
This is especially useful when transferring content into S3Store that requires to know content size before starting content upload.
This method will list items from srcPath, get the file size, put into dstStore with teh give size. If listing contents result in nested directories it will copy files inside dirs recursively.
destination store
path to transfer from (can be a path to a file or dir)
path to transfer to (can be a path to a file or dir, if you are transferring multiple files, make sure that dstPath.isDir == true, otherwise all files will override destination.
Stream[F, Int] number of files transfered