Ok. Heres my 2 cents.
In theory this is possible. At the moment in science we understanding more and more about how the world works and in turn how our brains work. If our brains are chemicals that react we could in theory replicate that in a program with a massive amount of variables. Also the thing about learning, there is a new type of programming that I read about called Evolutionary programing where they write a program that will try to solve a complex equation with limited functions. It will then look at the situation and produce another version of itself and give it more functions of what it "thinks" may suit the problem. For this to work it needs to have a sence of the goal and what is right. There have been programs written that can do this sort of thing on a basic level. This could be part of the very basics to learning.
Also on that note about some scientists making little bugs and only told them how to use one leg and let the work out how to move the others, I saw that program a few years ago, or a program on the same topic. It amazed me and made me wonder if they had become awear of its self and structure. I cant remember them goin on about a 216 digit number the LMAO
Olkos point about us jumping to a "Random" conclusion is a very good point but how do we know that it doesnt just appear random. It goes down to free will in the end. If we have free will we would be able to do that and come up with something free and "random" but if we dont we cant.
The thing I mentioned about evolutionary programing has a down fall though. If you run the same program twice it will have exactly the same out come. If you ran 2 univers's/dimensions identical in every single way down to every atom and the surroundings and EVERYTHING side by side would they run exactly the same. Its chaos theory.
I how ever do not believe a computer could fully copy a human. It could give the illusion that it is but I dont see how A computer can do these things.
Love, Hate, Hope and have a sence of humour. there are other things that I cant see being replicated.
Will probably post more after my tea