[test_resize] Don't use g_file_copy, it crashes qemu

Now it should be possible to automatically run unit tests in OBS