Technologically speaking, I'm not sure it's even possible to replicate the complex state of an entire nervous system. Maybe you could do this incrementally (ie by replacing parts of the brain with machines that can be replicated) but we're awfully sentimental about our own meat bags.