Use API to copy file (more efficient)