Add the following code to the document you want to use the script in (before any calls to the Array methods defined in the script):
<script type="text/javascript" src="array.js"></script>
If the array.js file is in a different directory than the html document, be sure to include the relative path to the Javascript file in the src attribute value.
Have a nice day.