Using simple copy function but script crashes

Support