Use a full path to the cp command to ensure we use the actual binary and not a shell alias that attaches the option preventing file overwrites.