Certainly the OS can't optimize it to a no-op, since `dd` makes separate read and write syscalls.

I suppose your `dd` implementation itself could do so, but I don't know why it would.