Change overwriteTo() to overwrite().