Can you help me ?
Despite your deadline making you anxious, if you stop for a moment you will realise that you have not given any details that would allow anyone to offer constructive help.
What Operating Systems are running on the two RPi? Are they the same version, updated to the same status?
What does "it not run" really mean. Does it fail with an error message? Does it execute without giving the results you expect?
If you are using a gpio library perhaps there are external connections to your RPi: has the wiring been damaged in transit between systems?
Maybe the best chance of getting help us to post your code here. Use the Code
tag mark-up generated by the Code
button at the top of the forum message edit screen.