test-lib-functions.sh: make test_copy_bytes use dd