Added support for target paths without a base name to cp.