This article explains how to use patterns in Adobe Photoshop to add repeating elements to a selection or layer. This feature has been available since Photoshop 4.
A pattern is an image that is repeated; you can use patterns to fill in layers or selections. Although Photoshop has preset patterns, you can create and save new patterns.
Open an image you want to use as a pattern base.
Use the Rectangular Marquee tool to select an area you want to use as a pattern.