Refactor copy_prop module to only handle cases where to_prop does
not exist, or if it does exist, where from_prop and to_prop are
either of type string or type list