Should return correct size for the data callback if src and dest is the same

Fixes #8.