Added 'cp' command implementation.