#! /bin/sh

while [ -n "$1" ] ; do
  [ -e "/$1" ] && mv "/$1" "/$1".xxx
  [ -e "./$1" ] && cp -a "./$1" "/$1"
  shift
done

