Copy script for ios