fix bug in destination fingerprinting. add an actual unit test that verifies basic copying is working. need more tests.