Duplicates the given element n times in a list.
Properties
Array: Location of the list to duplicate
Count: Number of times to duplicate
Output
Output-location: Location to store the output data