Forgot to make sure that oldData actually had data in it before the copy attempt.