Add copy(img, data::AbstractImageDirect) (Fixes #139)

This is a trivial fix for #139, but it may not be the desired fix....