Copying .bitcoin folder should work. Make sure bitcoind is not running (try ps -ef | grep bitcoin) before you attempt to copy. Also make sure bitcoin.conf is same in both places

Also, change the bitcoin.conf file with the new datadir , rpcuser and rpcpassword