HeDate.js
function(src, dest) {
    var i = 0;
    var len = Math.min(src.length, dest.length);
    while(i < len) {
      dest[i] = src[i];
      i++;
    }
    return dest;
  }
function(src, dest) {
    var i = 0;
    var len = Math.min(src.length, dest.length);
    while(i < len) {
      dest[i] = src[i];
      i++;
    }
    return dest;
  }
function ( src , dest ) { var i = 0 ; var len = Math . min ( src . length , dest . length ) ; while ( i < len ) { dest [ i ] = src [ i ] ; i ++ ; } return dest ; }
src - Array || Argument object
dest - Array
src - Array || Argument object dest - Array