Changed copy_n -> copy since it did not work with xcode