If you knew how the atoms were arranged in an animal simulating the animal's behavior would be as simple as simulating each individual atom. In practice that's not tractable but it shows that in theory, since the behavior of atoms is computable (blah blah quantum physics shut up), anything an animal can do can be simulated by a turing machine including will. Just because it's not simple to express in a programming language doesn't mean it not possible.