func (_m *MockStorage) Copy(ctx context.Context, src *url.URL, dst *url.URL, metadata Metadata) error {
	ret := _m.Called(ctx, src, dst, metadata)
	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, *url.URL, *url.URL, Metadata) error); ok {
		r0 = rf(ctx, src, dst, metadata)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
Copy provides a mock function with given fields: ctx, src, dst, metadata
package storage
import (
	context "context"
	mock "github.com/stretchr/testify/mock"
	url "github.com/peak/s5cmd/storage/url"
)
type MockStorage struct {
	mock.Mock
}