I think this is what you were trying to do...
I left some comments in the code to try and help you understand what
some of the code is doing....
let me know if this helps...
Code:
<head>
<script language="JavaScript">
function move(fbox, tbox) {
var arrFbox = new Array();
var arrTbox = new Array();
Leave a comment: