According to the latest Star Trek movies, in the future:
Man can build a machine that can disassemble a person, beam them through space, and reassemble them with their soul and consciousness intact, but they usually can't get the warp drive to work when they really need it...